//首页布局

.w {
    width: 1240px;
    margin: 0 auto;
}

.homePage>.banner {
    height: 500px;

    img {
        height: 100%;
    }
}
 
.left-box {
    width: 250px;
    background: #2e2728;
 
    position: absolute;
    top: 0;
 
    left: 0;
    z-index: 111;
    height: 100%;
    
    p{ 
        line-height: 50px;
        margin: 0;
        padding-left: 40px;
     
        &:hover{
            background: #27ba9b;
        .right-box{
            display: block;
        }
        }  
        a{
            margin-right: 5px;
            color: #fff;
            font-size: 14px;
        }
        a:first-child{
            font-size: 16px;
        }
    }
}
.right-box{
    width: 1000px;
    height: 100%;
     background: #ededed;
    position: absolute;
     left: 249px;
    z-index: 111;
    top: 0;
    display: none;
    h2{
        margin-top: 10px;
        span{
            font-size: 16px;
            margin-left: 10px;
            color: #888;
        }
    }
 .goods{
     display: flex;
     flex-wrap: wrap;
 }
}
.homePage {
    position: relative;
  
}
.arrow{
    width: 44px;
    height: 44px;
    border-radius: 50%;
     background: rgba(0, 0, 0, .2);
    text-align: center;
    line-height: 44px;
    color: #fff;
    font-size: 25px;
    top: 50%;
    margin-top: -22px;
    opacity: 0;
    transition: .2s linear;
    position: absolute;
    &.show{
        opacity: 1;
    }
    &:hover{
        opacity: 1;
    }
}
.arrowLeft{
    left: 270px;
}
.arrowRight{
    right: 20px;
}
//L轮播图下边的点
.dots{
    list-style: none;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    li{
        float: left;
        width: 20px;
        height: 20px;
        background: rgba(0, 0, 0, .2);
        border-radius: 50%;
        cursor: pointer;
        &:not(:first-child){
            margin-left: 12px;
        }
      
    }
} 